package com.kehutong.house.entity;

import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * TODO
 *
 * @author zwp
 * @version 1.0
 * @date 2021/6/29 16:30
 */
@Table(value="t_supplier_goods",idType= IDType.TIMESTAMP)
public class SupplierGoods extends DataEntity {

    private static final long serialVersionUID = -6962715783809047717L;

    protected SupplierGoods(String id) {
        super(id);
    }
    @Column(comment="供应物品名称")
    private String name;

    @Column(comment="排序")
    private int sort;

    @Column(comment="是否显示")
    private boolean status;

    @JSONField(serialize=false)
    @Column(comment="逻辑删除")
    private boolean deleted;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
